package com.hmyuan.dao;

import java.util.List;

import com.hmyuan.domain.Category;
import com.hmyuan.domain.Tag;

public interface CategoryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Category record);

    int insertSelective(Category record);

    Category selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);

	List<Category> selectList(Category category);
	
	List<Category> selectListByArticleid(Long articleid);
	
	List<Category> selectListWithCount();

}